package cn.sofwin.day0107.homework;

public class Print2 {
    public static void main(String[] args) {
        int i = 0;
        while (i < 6) {
            int j = 0;
            while (j < 10) {
                if (i == 0 | j == 0 | j == 9 | i == 5) {
                    System.out.print("*");
                } else {
                    System.out.print(" ");
                }
                j++;
            }
            System.out.print("\n");
            i++;
        }
    }
}
